{layout name="layout" /}
<div class="tipbox tipbox-message">
    1、权限识别码是每个具体功能唯一的识别编码,禁止重复填写。<br />
    2、每个识别码只能是数字和字母的组合,区分大小写。<br />
    3、识别码支持无限级管理,每一级编码以 . 点分割，例：admin.user.edit.1。<br />
</div>
<table class="table">
    <colgroup>
        <col class="w40" />
        <col class="w200" />
        <col/>
        <col class="w140" />
        <col class="w140" />
        <col class="w140" />
    </colgroup>
    <thead>
        <tr>
            <th class="fn-tac">#</th>
            <th>节点名称</th>
            <th>权限识别码</th>
            <th>创建日期</th>
            <th>更新日期</th>
            <th>操作</th>
        </tr>
    </thead>
    <tbody>
{volist name="lists" id="rs"}
    <tr>
        <td class="fn-tac">{$rs.id}</td>
        <td><a href="{:url('admin/auth/index',['parent_id'=>$rs.id])}"><i class="iconfont icon-lianjie"></i> {$rs.title}</a></td>
        <td>{$rs.auth_code}</td>
        <td>{$rs.create_time}</td>
        <td>{$rs.update_time}</td>
        <td>
            <a class="a-button a-blue" href="{:url('admin/auth/edit',['id'=>$rs.id])}"><i class="iconfont icon-edit"></i> {$Think.lang.lang_ui_edit}</a>
            <a class="a-button isDel" url="{:url('admin/auth/delete',['id'=>$rs.id])}" href="javascript:;" data-rules="delete"><i class="iconfont icon-lajixiang"></i> {$Think.lang.lang_ui_delete}</a>
        </td>
    </tr>
{/volist}
</tbody>
</table>
{$page}
<script type="text/javascript">
Do('base','layer',function(){
    $('.isDel').isDel();
})
</script>